//导入封装好的service
import service from '../util/request'

//导出接口
//店铺首页
export function shop_list(payload) {
    return service.get('/api/shop/list', { params: payload })
}
//爆爆团
export function tuan_list(shuju) {
    return service.get('/api/tuan/list', { params: shuju })
}
//店铺详情
export function shop_info(shuju) {
    return service.get('/api/shop/shopinfo', { params: shuju })
}
//轮播图
export function swiper_list(payload){
    return service.get('/api/banner/list',{params:payload})
}
//注册
export function register_list(obj = {}) {
    return service.post('/api/user/register', obj)
}
//登录
export function login_list(obj = {}) {
    return service.post('/api/user/login', obj)
}